package com.xinzhidi.web.netty.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/***
 * 设备表json字段
 * @author cx
 * @date 2023/6/6 9:53
 */
@Data
public class JsonData {

    @ApiModelProperty(value = "阀门开度")
    private BigDecimal valveOpen;

    @ApiModelProperty(value = "当前开度值")
    private BigDecimal currentValveOpen;

    @ApiModelProperty(value = "给定开度值")
    private BigDecimal givenValveOpen;

    @ApiModelProperty(value = "断电开度")
    private BigDecimal powerOffOpening;

    @ApiModelProperty(value = "累计工作时间，单位（秒）")
    private BigDecimal totalWorkHours;

    @ApiModelProperty(value = "断电计数")
    private BigDecimal blackoutCount;

    @ApiModelProperty(value = "最近一次断电时间")
    private BigDecimal lastPowerFailureTime;

    @ApiModelProperty(value = "最近一次上电时间")
    private BigDecimal LastPowerOnTime;

    @ApiModelProperty(value = "信号质量")
    private BigDecimal signalQuality;

    @ApiModelProperty(value = "热量")
    private BigDecimal heat;

    @ApiModelProperty(value = "近端温度")
    private BigDecimal nearTemperature;

    @ApiModelProperty(value = "远端温度")
    private BigDecimal farTemperature;

    @ApiModelProperty(value = "流量")
    private BigDecimal flow;

    @ApiModelProperty(value = "工作模式")
    private BigDecimal workMode;

    @ApiModelProperty(value = "阀门状态")
    private BigDecimal valveCondition;

}
